test: add integration tests with in-memory Phoenix - #36
Merged
Conversation
- Add tests/integration/ with 12 tests covering the full upload and experiment lifecycle against a real in-memory Phoenix instance - Uploader tests: create per tag, example counts, skip idempotency, append adds examples, custom input/output keys - Runner tests: dry run, full run, evaluator execution, name filter, missing dataset exit, concurrent execution, custom prefix/metadata - Session-scoped phoenix_server fixture (launch_app on a free port) - Tests use unique dataset names (uuid suffix) to avoid conflicts - Gate tests behind @pytest.mark.integration marker - Default pytest config excludes integration tests (-m 'not integration') - Add test-integration CI job and Makefile target - Add test-integration to ci-success gate
zurfjereluhmie
force-pushed
the
test/integration-tests
branch
from
April 22, 2026 12:58
981cba9 to
8c22e99
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests
Uploader (5 tests)
Runner (7 tests)
Architecture
@pytest.mark.integrationmarker: tests are excluded by default (addopts = "-m 'not integration'"in pyproject.toml)test-integrationjob added to ci.yml, included in theci-successgatemake test-integrationtargetRunning